package org.cid54.android.jshopper.dao;

import java.util.List;
import org.cid54.android.jshopper.model.ShopItem;
import org.cid54.android.jshopper.model.ShoppingList;

/**
 *
 * @author fgo
 */
public interface ShopItemDao {

    void getShopItemsByShoppingList(ShoppingList shoppingList, DaoCallBackMethod<List<ShopItem>> callBack);

    void create(ShopItem shopItem, DaoCallBackMethod<Boolean> callBack);

    void update(ShopItem item, DaoCallBackMethod<Void> callBack);

    void delete(ShopItem item, DaoCallBackMethod<Void> callBack);

}
